﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace ddb_BT1.Form
{
    public partial class frmReportHoadon : DevExpress.XtraEditors.XtraForm
    {
        public frmReportHoadon()
        {
            InitializeComponent();
        }

        private void frmReportHoadon_Load(object sender, EventArgs e)
        {
            rptHDBanHang rpt = new rptHDBanHang();
            rpt.DataSource = new DataTable();
            rpt.DataMember = "Table";
            printControl1.PrintingSystem = rpt.PrintingSystem;
            rpt.CreateDocument();

        }
    }
}